package utoday.controller;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

import utoday.model.Setting;
import utoday.service.SettingService;

public class UtodayController extends Controller {

    private SettingService settingService = new SettingService();

    @Override
    public Navigation run() throws Exception {

        Setting settingInfo = settingService.getSettingInfo();
        requestScope("settingInfo", settingInfo);
        return forward("index.jsp");
    }
}
